namespace SimpleWebServices
{
    public sealed class ConcreteClassTest<T> : ITestExpectation
    {
        public bool IsSealed
        {
            get;
            set;
        }

        public bool Check()
        {
            if (typeof(T).IsAbstract)
            {
                throw new TestException(typeof(T).Name + " is not a concrete class.");
            }

            return true;
        }
    }
}